package com.mvc4g.example.client.page;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.SimplePanel;
import com.mvc4g.client.Controller;
import com.mvc4g.client.ViewInterface;

public abstract class AbstractPage extends SimplePanel implements ViewInterface {
	
	public AbstractPage(){
		super();
		add(new Label(getPageText()));
	}

	public void setController(Controller controller) {
		//Nothing to do
	}
	
	public abstract String getPageText();

}
